<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ page import="javax.servlet.http.Cookie"%>
<%@ page import="java.net.*"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>论文题目审核</title>
<link rel="stylesheet" type="text/css" href="<c:url value='/css/style.css'/>">
<link rel="stylesheet" type="text/css" href="<c:url value='/css/common.css'/>">
<style type="text/css">
td, th {
	padding: 5px;
	height: 40px;
}

#tab1 {
	margin-top: 20px;
}

#tab {
	width: 90%;
	border: 0;
	text-align: center;
	background-color: #666666;
	margin: 10px auto;
}
</style>
</head>
<body>
	<div class="m-right">
		<div class="right-nav">
			<ul>
				<li><img src="../public/images/home.png"></li>
				<li style="margin-left: 25px;">您当前的位置：</li>
				<li><a href="#">审核</a></li>
				<li>&gt;</li>
				<li><a href="#">论文题目审核</a></li>
			</ul>
		</div>
		<div class="main">
			<div id="tab1">
				<h2 style="text-align: center; margin: 20px auto">
					<b>系统审核后论文题目列表</b>
				</h2>
				<table id="tab" cellpadding="0" cellspacing="1">
					<tr>
						<th bgcolor="#FFFFFF">题目
						</th>
						<th bgcolor="#FFFFFF">状态
						</th>
						<th bgcolor="#FFFFFF">审核
						</th>
					</tr>
				<c:forEach items="${requestScope.thesises }" var="thesis">
					<tr>
						<th bgcolor="#FFFFFF">${thesis.thesisName }</th>
						<th bgcolor="#FFFFFF">
						${thesis.thesisStatus== 1 ?"初审通过":thesis.thesisStatus == -1 ? "审核失败" : thesis.thesisStatus == 0 ? "等待初审":"审核通过" }
						</th>
						<th bgcolor="#FFFFFF">
							<a href="<c:url value='/thesis/${thesis.thesisId }/${thesis.thesisStatus-1 }'/>">撤回</a>
							<a href="<c:url value='/thesis/${thesis.thesisId }/${thesis.thesisStatus+1 }'/>">通过</a>
						</th>
					</tr>
				</c:forEach>
				</table>
			</div>
			<div align="center">
				<a href="">第一页</a> 
				<a href="">上一页</a> 
				<a href="">下一页</a> 
				<a href="">最后一页</a>
			</div>
		</div>
	</div>
</body>
</html>